<template>
  <div>
    <UploadImg />
    <el-button @click="click">dianwo
    </el-button></div>
</template>

<script>
import Layout from '@/layout'

export default {
  data() {
    return {

    }
  },
  methods: {
    click() {
      this.$router.addRoutes([{
        path: '/import',
        component: Layout,
        // redirect: '/import',
        children: [{
          path: '',
          name: '导出文件',
          component: () => import('@/views/employees/import'),
          meta: { title: 'import' }
        }]
      }])
    }
  }
}
</script>

<style>

</style>
